//
//  TransferFunction3D.h
//  
//
//  Created by Kun Zhao on 12/12/28.
//  Copyright (c) 2012年 Kyoto University. All rights reserved.
//

#ifndef _TransferFunction3D_h
#define _TransferFunction3D_h
#include <string>
#include <iostream>
#include <kvs/Vector3>

namespace kun
{
    
class TransferFunction3D
{
    kvs::Vector3f m_resolution;
    
    float* m_data;

public:
    
    TransferFunction3D( void );
    
    TransferFunction3D( const std::string filename );
    
public:
    
    void setResolution( kvs::Vector3f resolution );
    
    kvs::Vector3f resolution( void );
    
    void setValues( float* values );
    
    float* values( void );
    
    const bool import( const std::string filename );
    
    const bool write( const std::string filename );            
};    
    
}

#endif
